import css from './index.less';

interface MyCardProps {
  title: string;
  children: React.ReactNode;
}

const Index: React.FC<MyCardProps> = (props: MyCardProps) => {
  return (
    <div className={css.card}>
      <div className={css.title}>{props?.title}</div>
      <div className={css.content}>{props.children}</div>
    </div>
  );
};

export default Index;
